package design.pattern.Adapter.instance;

import design.pattern.Adapter.inter.NewTvOpen;
import design.pattern.Adapter.inter.TvOpen;

public class TvOpenAdapter implements TvOpen {
  
  private NewTvOpen tvOpen;
  
  public TvOpenAdapter(NewTvOpen tvOpen) {
    this.tvOpen = tvOpen;
  }
  
  @Override
  public void open() {
    this.tvOpen.open();
  }
}
